package com.firewolf.mains;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ConsumerStartUp {
	@SuppressWarnings("resource")
	public static void main(String[] args) throws Exception {

		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
				new String[] { "consumer.xml" });
		MyAction action = ctx.getBean(MyAction.class);
		action.conn("hello,","baby");
	}
}
